﻿using System;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.ServiceModel.Activation;

namespace SilverlightApplication1.Web
{
    [ServiceContract(Namespace = "")]
    [ServiceBehavior(AddressFilterMode = AddressFilterMode.Any, ConcurrencyMode = ConcurrencyMode.Multiple, InstanceContextMode = InstanceContextMode.PerCall, UseSynchronizationContext = false)]
    [SilverlightFaultBehavior]
    [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
    public class Service1
    {
        [OperationContract]
        public String DoWork(String someString)
        {
			return string.Format("Your string for \"DoWork\" service method is: {0}", someString);
        }

        [OperationContract]
        public String DoOtherWork(String otherSomeString)
        {
			return string.Format("Your string for \"DoOtherWork\" service method is: {0}", otherSomeString);
        }

        // Add more operations here and mark them with [OperationContract]
    }
}
